home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carousel Volume 2 #1
/
carousel.iso
/
mactosh
/
lang
/
thinkc30.sit
/
Read Me - Libraries
< prev
next >
Wrap
Text File
|
1989-01-16
|
2KB
|
83 lines
THINK C 3.01p4 Libraries
Release Notes
1/16/89
This is an update that fixes bugs in 3.0. It does not matter whether you
are starting with original 3.0 libraries, original 3.01 libraries, or
original 3.0 libraries that were previously updated to 3.01.
Seventeen replacement files are supplied:
#include files: math.h
proto.h
Library Sources: Math.c
Math881.a
Math881.a.o
Math881.a.╣
Math881.c
MathHybrid.c
profiler: profile.c
stdio .c files: onexit.c
printf-2-w.c
scanf2.c
stdget_console.c
stdver.c
unix .c files: unixexit.c
unixexec.c
unixsignal.c
These files replace the originals. The projects which use them must
be rebuilt. These are:
Math
Math881
MathHybrid
profile
sprintf
sprintf881
stdio
stdio881
unix
unix881
To rebuild each project, open it, bring up the "Make╔" dialog box, uncheck
"Quick Scan", and click "Use Disk". Finally, click "Make".
The following bugs were fixed in the 3.01 libraries:
(1) Math881.c had a syntax error which showed up only when it was
compiled with _ERRORCHECK_ defined.
(2) When using the MathHybrid library, the "exp()" function did not
return the correct result.
(3) The profiler did not honor the "_profile" switch. (This is a
global int which can be set to zero to temporarily inhibit profiling.
Profiling resumes when "_profile" is assigned a non-zero value.)
(4) "sscanf()" did not return EOF upon reaching the end of the input.
NOTE: The file "math881.h" was included on the 3.0 release disks
inadvertently. It is not used by any of the libraries, and should
be deleted.
The following bugs are fixed in this library release:
(1) The type of the second argument to "modf" was incorrect.
(2) The "Math881" implementations of "frexp" and "ldexp" didn't work.
(3) "modf" was missing from "Math881" (when built with error checking).
(4) The "MathHybrid" implementation of "fmod" didn't work.
In addition, changes were made to the organization of the math libraries
to make them easier to use. Read the file "Math Library Changes" for
details. Finally, changes were made in exit handling to accomodate changes
in the compiler. Read the file "IMPORTANT - READ THIS!" for details.